/**
 * @Author: ls <ls-mac>
 * @Date:   2019-08-13 13:56:37
 * @Last modified by:   ls-mac
 * @Last modified time: 2019-08-20 00:38:54
 */
import request from '../utils/reqaxios';

// /family/addOrEdit 家属新增和修改
export async function familyAddOrEdit(params) {
  return request({
    url: '/family/addOrEdit',
    method: 'post',
    data: params,
  });
}

// /family/delete  家属删除
export async function familyDelete(params) {
  return request({
    url: '/family/delete',
    method: 'post',
    data: params,
  });
}

// /family/list 家属列表
export async function familyList(params) {
  return request({
    url: '/family/list',
    method: 'post',
    data: params,
  });
}

// /family/page 家属列表
export async function familyPage(params) {
  return request({
    url: '/family/page',
    method: 'post',
    data: params,
  });
}
